package cn.wonderland;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
public class GateWayApp {
    public static void main(String[] args) {
        //只有添加这句，才能显示API管理等菜单，添加后还不生效的话，则重启Sentinel、清除浏览器缓存等
        System.setProperty("csp.sentinel.app.type", "1");
        SpringApplication.run(GateWayApp.class,args);
    }
}
